let APP_PORT;
try {
  const config = require("./config/config.default");
  APP_PORT = config.APP_PORT;
} catch (error) {
  console.error("无法加载配置文件:", error);
}
const app = require("./app/index");
app.listen(APP_PORT, () => {
  console.log(`server is running at port ${APP_PORT}`);
});
